import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/process_arrange_record_entity.g.dart';
export 'package:enterprise_v6_app/generated/json/process_arrange_record_entity.g.dart';

/// 审批流程节点数据
@JsonSerializable()
class ProcessArrangeRecordEntity {
  ProcessArrangeRecordEntity({
    this.approvalDate = '',
    this.approvalOpinion = '',
    this.approvalPersonnel = '',
    this.approvalSign = '',
    this.nodeName = '',
  });

  factory ProcessArrangeRecordEntity.fromJson(Map<String, dynamic> json) => $ProcessArrangeRecordEntityFromJson(json);

  ///	审批日期
  late String approvalDate = '';

  ///	审批意见
  late String approvalOpinion = '';

  ///	审批人
  late String approvalPersonnel = '';

  ///	审批签名
  late String approvalSign = '';

  ///	节点名
  late String nodeName = '';

  Map<String, dynamic> toJson() => $ProcessArrangeRecordEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
